package com.example.demo.dubbo.impl;

import com.alibaba.dubbo.config.annotation.Service;
import com.example.demo.request.City;
import com.example.demo.response.BaseResponse;
import com.example.demo.service.DemoService;

@Service(version = "1.0.0")
public class DemoServiceImpl implements DemoService {
    @Override
    public BaseResponse getPermissions(City city) {
        BaseResponse baseResponse = new BaseResponse();
        System.out.println(city.getCityName());
        return baseResponse;
    }
}
